package com.adou.second.day3;

/**
 * 成员内部类
 * @author admin
 *
 */
public class Outer {
	
	private int num = 10;
	
	private class Inner {
		public void show(){
			System.out.println("num=" + num);
			
		}
	}
	
	
	/**
	 * 内部调用
	 */
	public void method(){
		Inner inner = new Inner();
		inner.show();
	}
	

}
